package com.ecarx.library_base.scoket.model;

import com.google.gson.annotations.SerializedName;

public class SocketRequest {
    @SerializedName("msgid")
    private int msgId;
    private long seq;
    private String version;
    private Object data;

    public SocketRequest() {

    }

    public SocketRequest(int msgId, long seq, String version, Object data) {
        this.msgId = msgId;
        this.seq = seq;
        this.version = version;
        this.data = data;
    }

    public int getMsgId() {
        return msgId;
    }

    public long getSeq() {
        return seq;
    }

    public String getVersion() {
        return version;
    }

    public Object getData() {
        return data;
    }

    @Override
    public String toString() {
        return "SocketRequest{" +
                "msgId=" + msgId +
                ", seq=" + seq +
                ", version='" + version + '\'' +
                ", data=" + data +
                '}';
    }
}
